<a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
    {{ paginator.maxPerPage }}&nbsp;
    <i class="icon-angle-down"></i>
</a>

<ul class="dropdown-menu pull-left" role="menu">
    {% for limit, url in limits %}
    <li>
        <a href="{{ url }}">{{ limit }}</a>
    </li>
    {% endfor %}
</ul>
/ {{ paginator.nbResults }}
